{sc:sdb->survey ID="-1"#}
<table width="180" border="0" cellpadding="0" cellspacing="0">
	<form name="survey_{sc:$survey.ID#}" action="{sc:$Sys.URL.SurveySub#}" method="post" target="_blank">
	<tr>
		<td class="List" colspan="2">{sc:$Html.Survey#}</td>
	</tr>
	<tr><td colspan="2" class="Dx" height="30"><strong>{sc:$survey.SurveyTitle#}</strong></td></tr>
	{sc:foreach from=$survey.SurveyOptions key=i item=s#} 						
	<tr>
		<td height="26" class="Dx">{sc:$survey.InputHTML[$i]#}</td><td class="Dx">{sc:$survey.SurveyOptions[$i]#}</td>
	</tr>
	{sc:/foreach#}
	<tr><td colspan="2">
		<input type="hidden" name="pid" value="{sc:$survey.ID#}" />
		<input type="submit" value="{sc:$Html.Submit#}" style="height:24px; width:60px; cursor:pointer; margin:5px 20px 0 20px;" />
		<input type="button" value="{sc:$Html.Show#}" style="height:24px; width:60px; cursor:pointer;" onClick="javascript:window.open('{sc:$survey.URL#}','_blank');"/>	
	</td></tr>
	</form>
</table>
